﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLServerHealthCheck.Model
{
    public partial class Database
    {

        public string GetConnectionString()
        {
            string connectionString = "";
            
            connectionString = string.Format("Server={0};Database={1};Integrated Security=True;", 
                this.Service.InstanceName, DatabaseName);

            return connectionString;
        }


    }
}
